Intersoft.Client.Framework.Containers Namespace > IocContainer Class > Register Method : Register<TType,TImpl>() Method |
Public Overloads Function Register (Of TType As Class, TImpl As {Class, TType})() As IRegistration
Dim instance As IocContainer Dim value As IRegistration value = instance.Register(Of TType, TImpl)()
public IRegistration Register<TType,TImpl>() where TType: class where TImpl: class, TType
public: IRegistration^ Registergeneric<typename TType> generic<typename TImpl> (); where TType: ref class where TImpl: ref class, TType
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2